<ul class="row list-unstyled">
  <% @teacher_levels.each do |teacher_level| %>
    <li class="col-sm-8">
      <label class="col-sm-2">导师等级</label>
      <span class="col-sm-4"><%= teacher_level.teacher_level %></span>
      <%= link_to '删除','javascript:void(0)',
        onclick: "ajax_function('/admin/company_configurations/destroy_configuration', 'teacher_level', 'TeacherLevelConfiguration', #{teacher_level.id})",
        id: "delete_teacher_level#{teacher_level.id}" %>
    </li>
  <% end %>
  <%= form_for(@teacher_level, url: create_teacher_level_admin_company_configurations_path, html: { multipart: true}) do |f| %>
    <table>
      <tr>
        <td><%= f.label :导师等级 %></td>
        <td><%= f.text_field :teacher_level, required: true, style: "width:8em" %></td>
      </tr>
      <tr>
        <td colspan='2'>
          <%= f.submit "新增" %>
        </td>
      </tr>
    </table>
  <% end %>
</ul>
